package com.chang.spring6.iocXML.auto.controller;

import com.chang.spring6.iocXML.auto.service.UserService;

public class UserController {
    private UserService userService;

    public void setUserService(UserService userService) {
        this.userService = userService;
    }


    public void addUser() {
        System.out.println("controller方法执行了>>>>>");
        userService.addUserService();
    }
}
